package org.chatboleh.bean;

public class Document_Page extends Page {
	@Override
	protected String selectlistquery(String criteria){
		return "SELECT " + specificFieldName() + " FROM " + tablename() +
			" LEFT JOIN document_page ON document_page.pageid = page.id " +
			" LEFT JOIN document ON document.id = document_page.documentid " +
			" WHERE " + criteria;
	}

}
